<!DOCTYPE html>
<html>
<#assign nid="integralExchange" >
<#assign web_title='积分商城 - ${web_name!}' >
<#assign web_description='积分兑换${web_name!}p2p网贷平台' >
<#include "../include/PC_Header.html"> 
<#include "../common/function.html">
<link href="${webroot}${theme_dir}/media/css/button.css" rel="stylesheet">
<body>
<#assign nid="scoreMall"> 
<#include "../include/header.html"> 
<div id="container" class="bg clearfix">
  <div class="detailMsg clearfix">
    <div class="detailMsgLeft"><i><img src="${image_server_url}${goods.picPath}" width="460" height="460"></i></div>
    <div class="detailMsgRight">
      <h1 class="goodsTitle">${goods.name}</h1>
      <p>所属类别：<em>${goods.goodsCategory.name}</em></p>
      <p>所需积分：<em class="scoreAmount">${goods.score}</em>积分</p>
      <p>剩余数量：<em class="remainAmount">${goods.store-goods.freezeStore-goods.sellAcount} 件</em></p>
      <p>我要兑换：<em class="changeAmount clearfix"><a class="reduce disabled minus iconfont" title="减1" href="javascript:;" >&#xe67c;</a><input type="text" name="changeAmount" class="amountInput" value="1"><a class="add iconfont" title="加1" href="javascript:;">&#xe67b;</a><i>件</i></em></p>
      <p>
        <a class="yesChange" href="javascript:;" data-id="${goods.id}" data-score="${userScore.validScore}">确认</a>
        <a class="cancelChange" href="goodsPage.html">返回</a>
        <input type="hidden" value="${receivingInfo?string('true','false')}" id="receivingInfo">
        <input type="hidden" value="${goods.virtual?string('true','false')}" id="virtual">
      </p>
    </div>
  </div>
  <div class="detailTitle">商品详情</div>
  <div class="detailContent">
    <div class="detailContent_top">
     <ul class="clearfix">${(goods.attribute)?if_exists}</ul>
     <ul class="clearfix">${(goods.description)?if_exists}</ul>
    </div>
  </div>
</div>
<script>seajs.use('scoreMall/goodsDetails');</script>
<#include "../include/footer.html">
</body>
</html>
